home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / mac / Sample Code / QuickTime / QuickTimeIntro / Graphic Import⁄Export / Clippings / ScaleAndRotate.c / Step1.clp < prev    next >
MacBinary  |  2000-10-06  |  1.1 KB  |  [clpt/drag]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert TRS-80 CLP File (image/trs80Clp) ext Supported
66% dexvert PC Paint Image (image/pcPaint) ext Supported
66% dexvert Windows Clipboard (image/windowsClipboard) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Quattro Pro Clip Art (image/quattroProClipArt) ext Unsupported
1% dexvert Home Plan Pro 5 Clip (other/homePlanPro5Clip) ext Unsupported
100% file MacBinary II, inited, Mon May 8 14:37:33 2000, modified Fri Oct 6 15:36:30 2000, creator 'drag', type 'clpt' "Step1.clp", at 0x80 967 bytes resource Apple HFS/HFS+ resource fork, map offset 0x381, map length 0x46, data length 0x281, nextResourceMap 0xf385020, fileRef 0x222, list offset 0x1c, name offset 0x46, 2 types, 0x54455854 'TEXT' * 1 resource offset 0x12 default (weak)
99% file data default
74% TrID Mac Text clippings (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[clpt]
macFileCreator[drag]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 53 74 65 70 31 2e | 63 6c 70 00 00 00 00 00 |..Step1.|clp.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 63 6c 70 74 64 72 61 | 67 01 00 00 00 00 00 00 |.clptdra|g.......|
|00000050| 00 00 00 00 00 00 00 00 | 00 03 c7 b5 3c b9 ed b6 |........|....<...|
|00000060| 03 da 3e 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..>.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 c3 99 00 00 |........|........|
|00000080| 00 00 01 00 00 00 03 81 | 00 00 02 81 00 00 00 46 |........|.......F|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 02 59 09 2f 2f 20 | 6c 6f 63 61 74 65 20 61 |...Y.// |locate a|
|00000190| 6e 64 20 6f 70 65 6e 20 | 61 20 67 72 61 70 68 69 |nd open |a graphi|
|000001a0| 63 73 20 69 6d 70 6f 72 | 74 65 72 20 63 6f 6d 70 |cs impor|ter comp|
|000001b0| 6f 6e 65 6e 74 0d 09 65 | 72 72 20 3d 20 47 65 74 |onent..e|rr = Get|
|000001c0| 47 72 61 70 68 69 63 73 | 49 6d 70 6f 72 74 65 72 |Graphics|Importer|
|000001d0| 46 6f 72 46 69 6c 65 28 | 20 26 74 68 65 46 53 53 |ForFile(| &theFSS|
|000001e0| 70 65 63 2c 20 26 69 6d | 70 6f 72 74 65 72 20 29 |pec, &im|porter )|
|000001f0| 3b 0d 09 0d 09 2f 2f 20 | 67 65 74 20 74 68 65 20 |;....// |get the |
|00000200| 6e 61 74 69 76 65 20 73 | 69 7a 65 20 6f 66 20 74 |native s|ize of t|
|00000210| 68 65 20 69 6d 61 67 65 | 20 61 73 73 6f 63 69 61 |he image| associa|
|00000220| 74 65 64 20 77 69 74 68 | 20 74 68 65 20 69 6d 70 |ted with| the imp|
|00000230| 6f 72 74 65 72 0d 09 65 | 72 72 20 3d 20 47 72 61 |orter..e|rr = Gra|
|00000240| 70 68 69 63 73 49 6d 70 | 6f 72 74 47 65 74 4e 61 |phicsImp|ortGetNa|
|00000250| 74 75 72 61 6c 42 6f 75 | 6e 64 73 28 20 69 6d 70 |turalBou|nds( imp|
|00000260| 6f 72 74 65 72 2c 20 26 | 6e 61 74 75 72 61 6c 42 |orter, &|naturalB|
|00000270| 6f 75 6e 64 73 20 29 3b | 0d 09 0d 09 77 69 6e 64 |ounds );|....wind|
|00000280| 6f 77 42 6f 75 6e 64 73 | 20 3d 20 6e 61 74 75 72 |owBounds| = natur|
|00000290| 61 6c 42 6f 75 6e 64 73 | 3b 0d 09 4f 66 66 73 65 |alBounds|;..Offse|
|000002a0| 74 52 65 63 74 28 20 26 | 77 69 6e 64 6f 77 42 6f |tRect( &|windowBo|
|000002b0| 75 6e 64 73 2c 20 31 30 | 2c 20 34 35 20 29 3b 0d |unds, 10|, 45 );.|
|000002c0| 09 77 69 6e 64 6f 77 20 | 3d 20 4e 65 77 43 57 69 |.window |= NewCWi|
|000002d0| 6e 64 6f 77 28 20 4e 55 | 4c 4c 2c 20 26 77 69 6e |ndow( NU|LL, &win|
|000002e0| 64 6f 77 42 6f 75 6e 64 | 73 2c 20 22 5c 70 53 63 |dowBound|s, "\pSc|
|000002f0| 61 6c 65 20 61 6e 64 20 | 52 6f 74 61 74 65 20 22 |ale and |Rotate "|
|00000300| 2c 20 74 72 75 65 2c 20 | 64 6f 63 75 6d 65 6e 74 |, true, |document|
|00000310| 50 72 6f 63 2c 20 28 57 | 69 6e 64 6f 77 50 74 72 |Proc, (W|indowPtr|
|00000320| 29 2d 31 2c 20 74 72 75 | 65 2c 20 30 29 3b 0d 09 |)-1, tru|e, 0);..|
|00000330| 0d 09 2f 2f 20 73 65 74 | 20 74 68 65 20 67 72 61 |..// set| the gra|
|00000340| 70 68 69 63 73 20 70 6f | 72 74 20 66 6f 72 20 64 |phics po|rt for d|
|00000350| 72 61 77 69 6e 67 0d 09 | 65 72 72 20 3d 20 47 72 |rawing..|err = Gr|
|00000360| 61 70 68 69 63 73 49 6d | 70 6f 72 74 53 65 74 47 |aphicsIm|portSetG|
|00000370| 57 6f 72 6c 64 28 20 69 | 6d 70 6f 72 74 65 72 2c |World( i|mporter,|
|00000380| 20 47 65 74 57 69 6e 64 | 6f 77 50 6f 72 74 28 20 | GetWind|owPort( |
|00000390| 77 69 6e 64 6f 77 20 29 | 2c 20 4e 55 4c 4c 20 29 |window )|, NULL )|
|000003a0| 3b 0d 09 0d 09 2f 2f 20 | 64 72 61 77 20 74 68 65 |;....// |draw the|
|000003b0| 20 69 6d 61 67 65 0d 09 | 65 72 72 20 3d 20 47 72 | image..|err = Gr|
|000003c0| 61 70 68 69 63 73 49 6d | 70 6f 72 74 44 72 61 77 |aphicsIm|portDraw|
|000003d0| 28 20 69 6d 70 6f 72 74 | 65 72 20 29 3b 00 00 00 |( import|er );...|
|000003e0| 20 00 00 00 01 00 00 00 | 04 00 00 00 00 00 00 00 | .......|........|
|000003f0| 01 54 45 58 54 00 00 01 | 00 00 00 00 00 00 00 00 |.TEXT...|........|
|00000400| 00 00 00 01 00 00 00 03 | 81 00 00 02 81 00 00 00 |........|........|
|00000410| 46 0f 38 50 20 02 22 00 | 00 00 1c 00 46 00 01 54 |F.8P .".|....F..T|
|00000420| 45 58 54 00 00 00 12 64 | 72 61 67 00 00 00 1e 01 |EXT....d|rag.....|
|00000430| 00 ff ff 00 00 00 00 00 | dc f2 98 00 80 ff ff 00 |........|........|
|00000440| 00 02 5d 00 bd 7b 00 00 | 00 00 00 00 00 00 00 00 |..]..{..|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+